addDoneWidget
fun addDoneWidget(pressAction: Consumer<CustomButtonWidget> = Consumer { pop() }, parent: String? = null, spacingH: Int = 4): PopupWidget.Builder
Adds a "Done" button below the previously added element, or below the defined parent
The button automatically uses the layout BELOW, ALIGN_JUSTIFY_WEAK
Return
Builder - this builder for further use
Author
fzzyhmstrs
Since
0.2.0
Parameters
pressAction
ButtonWidget.PressAction - defines the buttons action when clicked
parent
String, optional. defines the parent element for this button. by default (null), will be the previously added element.